package com.angel.mapper;

import com.angel.bean.dto.GoodListDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import com.angel.bean.GoodsList;

@Mapper
public interface GoodsListDao {
    int insert(@Param("goodsList") GoodsList goodsList);

    int insertSelective(@Param("goodsList") GoodsList goodsList);

    int insertList(@Param("goodsLists") List<GoodsList> goodsLists);

    int update(@Param("goodsList") GoodsList goodsList);

    int delete(@Param("goodsList") GoodsList goodsList);

    List<GoodsList> findGoodsList(@Param("goodsList") GoodsList goodsList);

    List<GoodListDto> findProductGoodsList(@Param("goodsList") GoodsList goodsList);

}
